FROM golang:1.17.10-alpine

VOLUME /tmp
ENV DEBIAN_FRONTEND noninteractive
ADD sources_debian.list /etc/apt/sources.list
WORKDIR /usr/src/myapp

RUN apt-get update && apt-get install -y \
	gcc
ENTRYPOINT ["go","build","."]
